/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hibernateStuff;

import java.util.List;
import webservice.ArrayList;
import webservice.AuctionProduktArray;
import webservice.Hib;
import webservice.HibService;
import webservice.Produkt;
import webservice.ProduktArray;

/**
 *
 * @author Marco
 */
public class ServiceTest {

    public static void main(String args[]){
        HibService service = new HibService();
        Hib hib = service.getHibPort();
        //        System.out.println(hib.getRank(24));
        //        System.out.println(hib.getRegisterDate(24));
        //        System.out.println(hib.getGuthaben(24));
        AuctionProduktArray auctionItemList = hib.getAuctionItemList();
        System.out.println(auctionItemList.getItem().get(0).getTtl());
//        ProduktArray produkteByUserId = hib.getProdukteByUserId(3);
//        List<Produkt> arrrr = produkteByUserId.getItem();
//        int i= 0;
//        for (Produkt produkt : arrrr) {
//            System.out.println(arrrr.get(i).getName() + ": " +arrrr.get(i).getDescription());
//            i++;
//        }

    }
}
